import request from '@/utils/request'

//手机号密码登录
export function passwordLogin(data) {
    return request({
        url: '/api/user/passwordLogin',
        method: 'post',
        data: data
    })
}

//根据token加载信息
export function getUserByToken(data) {
    return request({
        url: '/api/test/testToken',
        method: 'get',
        data: data
    })
}